import request from "@/utils/request";

export function getOrderInfo() {
    return request({
        url: '/order/underWay/list',
        method: 'get'
    })
}

export function closeOrder(orderId) {
    return request({
        url: '/taxi/close/order/' + orderId,
        method: 'get'
    })
}

export function InfoMassage(id) {
    return request({
        url: '/order/info/' + id,
        method: 'get'
    })
}

export function orderInfoMassage(orderNo) {
    return request({
        url: '/order/order/no/info/' + orderNo,
        method: 'get'
    })
}
